<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ page language="java" import="java.util.*" session="true"%>
<%@ page import = "pe.com.deuda.bd.dao.ConsultaDAO"%>
<%@ page import = "pe.com.deuda.bd.model.Reclamo"%>
<%@ page import = "java.util.ArrayList"%>
<%@ page import = "java.util.List"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link href="/WebDeudas/css/estilo.css" rel="stylesheet" type="text/css" />
        <title>Detalle Reclamo</title>
        <script language="javascript">
        function goback(){
        history.back();
        }
</script>
    </head>
    <body>
        <p>&nbsp;</p>
        <table width="80%">
            <tr>
                <td width="30%"></td>
                <td width="50%">&nbsp;</td>
                <td width="20%">Bienvenido  <%=session.getAttribute("nombre")%> !  </td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
                <td>&nbsp;</td>
            </tr>
            <tr>
                <td></td>
                <td></td>
                <td></td>
            </tr>
        </table>
            <br>
        <%
            ConsultaDAO dao=new ConsultaDAO();
            Reclamo oReclamo=dao.getReclamo(request.getParameter("codigo"));
        %>
        <table width="80%">
            <tr>
                <td width="30%">Nombre</td>
                <td width="70%"><input type="text" name="txNombre" id="txNombre" size="50" value="<%= oReclamo.getNombre().toString() %>" readonly="true"></td>
            </tr>
            <tr>
                <td>Apellido Paterno</td>
                <td><input type="text" name="txPaterno" id="txPaterno" size="50" value="<%= oReclamo.getAppaterno().toString() %>" readonly="true"></td>
            </tr>
            <tr>
                <td>Apellido Materno</td>
                <td><input type="text" name="txMaterno" id="txMaterno" size="50" value="<%= oReclamo.getApmaterno().toString() %>" readonly="true"></td>
            </tr>
            <tr>
                <td>Mail</td>
                <td><input type="text" name="txMail" id="txMail" size="50" value="<%= oReclamo.getMail().toString() %>" readonly="true"></td>
            </tr>
            <tr>
                <td>Telefono de contacto</td>
                <td><input type="text" name="txTelefono" id="txTelefono" size="20" value="<%= oReclamo.getTelefono().toString() %>" readonly="true"></td>
            </tr>
            <tr>
                <td>Direccion</td>
                <td><input type="text" name="txDireccion" id="txDireccion" size="75" value="<%= oReclamo.getDireccion().toString() %>" readonly="true"></td>
            </tr>
            <tr>
                <td>Distrito</td>
                <td><input type="text" name="txDistrito" id="txDistrito" size="50" value="<%= oReclamo.getDistrito().toString() %>" readonly="true"></td>
            </tr>
            <tr>
                <td>Código Postal</td>
                <td><input type="text" name="txCodPostal" id="txCodPostal" size="20" value="<%= oReclamo.getCodpostal().toString() %>" readonly="true"></td>
            </tr>
            <tr>
                <td>Comentario</td>
                <td><input type="text" name="txComentario" id="txComentario" size="100" value="<%= oReclamo.getComentario().toString() %>" readonly="true"></td>
            </tr>
            <tr>
                <td>&nbsp;</td>
                <td></td>
            </tr>
            <tr>
                <td colspan="2"><input type="button" value="Salir" name="btSalir" id="btSalir" onclick="goback()"></td>
            </tr>
        </table>
            <br>
        <table border="1" cellpadding="0" cellspacing="0">
            <tr>
                <td>
                    <p>&nbsp; Esta información será valida antes de su publicación en nuestro sistema &nbsp;</p>
                </td>
            </tr>
        </table>
    </body>
</html>
